﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Bank.aspx.cs" Inherits="Default2" %>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
    <script language="javascript" type="text/javascript">
    function mpeCuentaOnCancel() {

    }
    </script>
<div class="grid_16" id="content">
    
    <div class="grid_9">
        <h1 class="bank">
            &nbsp;
            BANK
             
            <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </cc1:ToolkitScriptManager>
             
        </h1>
    </div>
    <!--RIGHT TEXT/CALENDAR-->
    <div class="grid_6" id="eventbox"><a href="#" class="inline_calendar">Calendar</a>
    	<div class="hidden_calendar"></div>
    </div>
    <!--RIGHT TEXT/CALENDAR END-->
    <div class="clear">
    </div>
    <!--  TITLE END  -->    
    <!-- #PORTLETS START -->
    <div id="portlets">
    <!-- FIRST SORTABLE COLUMN START -->
      <!-- FIRST SORTABLE COLUMN END -->
      <!-- SECOND SORTABLE COLUMN START -->
      
	<!--  SECOND SORTABLE COLUMN END -->
    <div class="clear"></div>
    <!--THIS IS A WIDE PORTLET-->
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>    

        <table  width="100%" cellpadding="0" cellspacing="0" 
            
          id="box-table-a"   style="border: thin dotted #FFFFFF; color: #808080; text-decoration: none;">
            <thead>
              <tr>                
                <th style="background-color: #EAEAEA; width: 227px;"  scope="col" align="left" 
                      height="25">Name</th>
                <th style="background-color: #EAEAEA; width: 230px;" scope="col" align="left">Country</th>
                <th style="background-color: #EAEAEA" width="110" align="left" scope="col">
                    Description</th>
                <th style="background-color: #EAEAEA"  width="110" align="left" scope="col">Actions</th>
                
              </tr>
            </thead>
            <tbody>
                <% if (Bankarr!=null && Bankarr.Count>0) {
                   foreach (RE_GenericBean rgb in Bankarr)
                   {
            %>
              <tr>  
                <td  style="height: 20px; width: 227px;"><%=rgb.strC1 %></td>
                <td  style="height: 20px; width: 230px"><%=rgb.strC4 %></td>
                <td style="height: 20px; width: 184px"><%=rgb.strC3 %></td>
           
                <td style="height: 20px"><a href="Bank.aspx?id=<%=rgb.intC1 %>" class="edit_icon" title="Edit">&nbsp;&nbsp;&nbsp;&nbsp;EDIT</a></td>
              </tr>
                <%     }
               }
            %>
            </tbody>
            </table>

    
   <table id="table2" width="100%" cellpadding="0" cellspacing="0" >
   <thead>
              <tr>                
                <th style="width: 414px"> </th>
                <th > <asp:LinkButton align="center" ID="LinkButton4"  runat="server" class="button_add" 
              onclick="LinkButton4_Click"><span>Add</span></asp:LinkButton>
          
         
          <cc1:ModalPopupExtender ID="LinkButton4_ModalPopupExtender" runat="server" 
              DynamicServicePath="" Enabled="True" TargetControlID="LinkButton4" PopupControlID="pnlAddBank" BackgroundCssClass="FondoAplicacion" CancelControlID="">
          </cc1:ModalPopupExtender> </th>
                <th> </th>
              
              </tr>
            </thead>
   
   
   
   
   
   </table>
          
        
         
         
        
          
         
         
         

          
         
    
<!--  END #PORTLETS --> 


         
         
<table width="100%" cellpadding="0" cellspacing="0" id ="box">

<thead>

</thead>


</table> 
   
    <div class="clear"> </div>
    <div class="clear"> </div>
    <asp:Panel ID="pnlAddBank" runat="server" CssClass="CajaDialogo" Width="542px" 
        Height="389px">
        <table cellpadding="0" cellspacing="0"  id="box-table-a" 
          align="center" width="514px">
        <thead>
            <tr align="center">
                <th align="center" scope="col"><strong>BANK</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="lb_error" runat="server" ForeColor="#FF3300" 
                        Text="THIS BANK CAN´T BE DELETED " Visible="False"></asp:Label>
                    <asp:Label ID="lb_Bankid" runat="server" EnableTheming="True" Text="0" 
                        Visible="False"></asp:Label>
                </th>

            </tr>
        </thead>
        <tbody>
            <tr>
                <td align="center">
                    <table width="500px">
                            <tr>
                                <td align="left" style="width: 106px;">Bank&#39;s Name</td>
                                <td style="width: 129px; height: 31px;">
                                    <asp:TextBox ID="tb_bank" runat="server" Height="22px" Width="210px"></asp:TextBox>
                                </td>
                                
                                    
                            </tr>
                            <tr>
                                <td align="left" style="width: 106px;">Country</td>
                                <td style="width: 129px; height: 25px;">
                                    <asp:DropDownList ID="DropDownList1" runat="server" DataValueField="id" 
                                        Height="18px" Width="217px">
                                    </asp:DropDownList>
                                </td>
                                
                            </tr>
                            <tr>
                                <td align="center" style="width: 106px; text-align: left;" valign="top">Description</td>
                                <td>
                                    <asp:TextBox ID="tb_description" runat="server" Height="94px" Width="305px" 
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                              
                            </tr>
                            <tr align="right">
                                <td colspan="4" align="right" style="height: 63px">
                                    <asp:Label ID="lb_camp" runat="server" ForeColor="#FF3300" 
                                        Text="FILL ALL THE FIELDS" Visible="False"></asp:Label>
                                    <span>&nbsp;</span>
                                    <asp:LinkButton ID="LinkButton1" runat="server" class="button_ok" onclick="LinkButton1_Click" 
                                        ><span>SAVE</span></asp:LinkButton>
                                        <asp:LinkButton ID="LinkButton3" runat="server" class="button_notok" 
                                        onclick="LinkButton3_Click"><span>DELETE</span></asp:LinkButton>
                                       
                                    <asp:LinkButton ID="btnCuentaCancelar" runat="server"  
                                        class="button_cancel" onclick="Button1_Click1"><span>CANCEL</span></asp:LinkButton>
                                   
                                    
                                </td>
                            </tr>
                        </table>
                
                </td>
            </tr>
        </tbody>
        </table>
    </asp:Panel>
  

    </div>
</asp:Content>

